package com.atcd.springcloud.dao;
 

import com.atcd.springcloud.domain.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface OrderDao
{
    //新建订单
    void create(Order order);
 
    //修改订单状态，从零改为1
    void update(@Param("userId") Long userId,@Param("status") Integer status);
}
 
